<%--
    Copyright 2010 mazhao.

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

         http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    under the License.
    
    Document   : front
    Created on : Oct 8, 2010, 10:45:38 PM
    Author     : mazhao
--%>

<%@page contentType="text/html" pageEncoding="UTF-8" %>
<%@taglib prefix="s" uri="/struts-tags" %>
<%@taglib prefix="page" uri="http://www.opensymphony.com/sitemesh/page" %>
<%@taglib prefix="decorator" uri="http://www.opensymphony.com/sitemesh/decorator" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

    <link rel="stylesheet" href="<%=request.getContextPath()%>/stylesheet/blueprint/screen.css"
          type="text/css" media="screen, projection">
    <link rel="stylesheet" href="<%=request.getContextPath()%>/stylesheet/blueprint/print.css"
          type="text/css" media="print">
    <!--[if lt IE 8]>
    <link rel="stylesheet" href="<%=request.getContextPath()%>/stylesheet/blueprint/ie.css"
          type="text/css" media="screen, projection"><![endif]-->
    <link rel="stylesheet" href="<%=request.getContextPath()%>/stylesheet/blueprint/plugins/fancy-type/screen.css"
          type="text/css" media="screen, projection"/>

    <link rel="stylesheet" href="<%=request.getContextPath()%>/stylesheet/superfish/superfish.css"
          type="text/css" media="screen, projection"/>
    <link rel="stylesheet" href="<%=request.getContextPath()%>/stylesheet/superfish/superfish-navbar.css"
          type="text/css" media="screen, projection"/>
    <link rel="stylesheet" href="<%=request.getContextPath()%>/stylesheet/superfish/superfish-vertical.css"
          type="text/css" media="screen, projection"/>

    <link rel="stylesheet" href="<%=request.getContextPath()%>/stylesheet/jquery.jgrowl.css"
          type="text/css" media="screen, projection"/>

    <script type="text/javascript" src="<%=request.getContextPath()%>/script/jquery-1.4.2.js"></script>
    <script type="text/javascript" src="<%=request.getContextPath()%>/script/jquery.debug.js"></script>

    <script type="text/javascript" src="<%=request.getContextPath()%>/script/superfish/hoverIntent.js"></script>
    <script type="text/javascript" src="<%=request.getContextPath()%>/script/superfish/superfish.js"></script>
    <script type="text/javascript" src="<%=request.getContextPath()%>/script/superfish/supersubs.js"></script>

    <script type="text/javascript" src="<%=request.getContextPath()%>/script/jquery.jgrowl.js"></script>

    <script type="text/javascript" src="<%=request.getContextPath()%>/script/jquery.validate.js"></script>


    <script type="text/javascript">
        // true for debug, false for release
        DEBUG = true;

        // create menu
        $(document).ready(function() {
            $("#mainMenu").supersubs({
                minWidth:    12,
                maxWidth:    27,
                extraWidth:  1
            }).superfish({
                animation: {height:'show'},
                delay:     1200
            });
        });

        $.log("add super fish successfully");

    </script>

    <decorator:head/>
</head>

<body>
<div class="container">
    <!-- !!!ALL TEMPLATE ARE THE SAME!!! -->
    <jsp:include page="/WEB-INF/decorators/header.jsp"/>
    <!-- !!!ALL TEMPLATE ARE THE SAME!!! -->
    <hr/>
    <div class="span-4">
        <h2 class="alt">Customer Area</h2>
        <s:a cssClass="alt" namespace="/customer" action="showclientcenter">Information</s:a><br>
        <s:a cssClass="alt" namespace="/customer" action="showchangepwd">Change Password</s:a><br>
        <s:a cssClass="alt" namespace="/customer" action="showorder">Orders</s:a><br>
    </div>

    <div class="span-20 last">
        <decorator:body/>
    </div>
</div>
</body>
</html>